<ul id="maintab" class="shadetabs">
    <li class="selected" onclick="switchTab('Tourney/WP_Tourney.php?action=2','content_area',this);">&nbsp;&nbsp;Torneo&nbsp;&nbsp;</li>
    {if $tourney neq 0}
    <li onclick="switchTab('Tourney/WP_Tourney.php?action=5','content_area',this);">&nbsp;&nbsp;Piscinas&nbsp;&nbsp;</li>
    {/if}
</ul>
<div id="content_area" class="contentstyle">
    {include file="Tourney/tourney_main_cont.tpl"}
</div>